﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ChinaColorDisplay
{
    public class ColorInfo
    {
        public string name { get; set; }

        public string pinyin { get; set; }

        public string hex { get; set; }

        public List<int> RGB { get; set; }

        public List<int> CMYK { get; set; }

        public override string ToString()
        {
            return $"{name} HEX:{hex}  RGB:{RGB.JsonToString()}";
        }
    }
}
